package com.glsc.ngateway.common.base.repo.mysql.flowable;

import com.glsc.ngateway.common.base.domain.mysql.flowable.FlowableTenant;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * @author lium
 * @date 2021/9/6
 */
public interface FlowableTenantRepo extends JpaRepository<FlowableTenant, Long>, JpaSpecificationExecutor<FlowableTenant> {

    @Query(value = "select m from FlowableTenant m ")
    List<FlowableTenant> queryAllTenant();

}
